package org.paradise.dms.services.impl;

import org.paradise.dms.dao.impl.ChangePasswordDAOImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class ChangePasswordServiceImpl{
	@Autowired
	private ChangePasswordDAOImpl changePasswordDAOImpl;
	
	public ChangePasswordDAOImpl getChangePasswordDAOImpl() {
		return changePasswordDAOImpl;
	}

	public void setChangePasswordDAOImpl(ChangePasswordDAOImpl changePasswordDAOImpl) {
		this.changePasswordDAOImpl = changePasswordDAOImpl;
	}
	
	
	
	public String changePwd(String oldPwd,String newPwd,int userid){
		return changePasswordDAOImpl.changePwd(oldPwd,newPwd,userid);
	}
}
